<template>
  <div>
    <iframe style="border: none" :src="iframeUrl" class="iframe-class"></iframe>
  </div>
</template>
<script setup lang="ts">
import { useRoute } from 'vue-router'
const route = useRoute()
const iframeUrl = `http://testcr.ouyeelf.com/portal-vue/workflowTrack.html?processInstanceId=${route.query.id}`
console.log(iframeUrl)
</script>
<style lang="less" scoped>
.iframe-class {
  width: 100%;
  height: calc(100vh - 220px);
}
</style>
